package lot;

import ressourceImpl.QuantiteRessource;

import java.util.GregorianCalendar;

/**
 * 
 * @modelguid {A9C14BBB-D3B1-40DA-B65B-58FE1DE11831}
 */
public class Lot {
	/**
	 * 
	 * @modelguid {7CBF5593-F7A1-4A99-868F-B5D68CCEFD0B}
	 */
	private GregorianCalendar _date;

	/**
	 * 
	 * @modelguid {5F460A05-322D-4D96-A462-9744242FD6FA}
	 */
	private int _prix;

	/**
	 * 
	 * @modelguid {D52240FB-44EB-4AB6-8A1D-B58CCCAB0597}
	 */
	private QuantiteRessource _lesRessources;

	public Lot(GregorianCalendar d, int p, QuantiteRessource qr) {
		this.set_date(d);
		this.set_prix(p);
		this._lesRessources = qr;
		Marche.add_lot(this);
	}

	/** @modelguid {D6B849A4-0ED2-4BFF-B7D6-7C9D427E4335} */
	public GregorianCalendar get_date() {
		/* Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5} */

		return _date;
		/* End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5} */
	}

	/** @modelguid {4B8DF8DB-CC14-4CA1-9948-1267372BF040} */
	public void set_date(GregorianCalendar a_date) {
		/* Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5} */
		_date = a_date;
		/* End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5} */
	}

	/** @modelguid {34C816AA-BB24-4DF7-AB7F-D3E972A9EB6D} */
	public int get_prix() {
		/* Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5} */

		return _prix;
		/* End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5} */
	}

	/** @modelguid {834452BB-B80C-4E4F-A920-8A74A095C361} */
	public void set_prix(int a_prix) {
		/* Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5} */
		_prix = a_prix;
		/* End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5} */
	}

}
